package com.ts.main.mini.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ts.main.mini.entity.ShoppingCartEntity;
import com.ts.main.mini.vo.ShoppingCartVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author lk
* @createDate 2025-05-16 15:12:01
*/
public interface ShoppingCartMapper extends BaseMapper<ShoppingCartEntity> {

    List<ShoppingCartVo> getCartPage(@Param("userId") Integer userId);

    List<ShoppingCartVo> getCartList(@Param("userId") Integer userId);

    ShoppingCartVo getCartDetails(@Param("cartId") Integer cartId);


}




